package com.forenow.demo.newdemo7;
public interface EmployeeDAO {

    /**
     * 增加员工信息
     * @param employee
     */
    public void add(Employee employee);

    /**
     * 删除员工信息
     * @param employee
     */
    public void delete(Employee employee);

    /**
     * 修改员工信息
     * @param employee
     */
    public void updata(Employee employee);

    /**
     * 查看所有信息
     * @return
     */
    public void show();

    /**
     * 根据id查看员工信息
     * @param id
     * @return
     */
    public Employee getQueryById(int id);


}
